package cn.edu.zut.service;

import cn.edu.zut.domain.Contest;

import java.util.List;

public interface ContestService {
    public void add(Contest contest);
    public List<Contest> queryByName(String contestName);
    public List<Contest> queryAll() ;
    public void modifyContest(Contest contest);
    public void deleteContest(Contest contest);
    public Contest findById(int id);
}
